@extends('admin.layouts.app')
@section('content')

                        <!-- Page-Title -->
                        <div class="row">
                            <div class="col-lg-9">
                                <h4 class="page-title">调查表管理</h4>
                                <ol class="breadcrumb">
                                    <li><a href="#">系统</a></li>
                                   
                                    <li class="active">调查表</li>
                                </ol>
                            </div>
                        </div>
                        
                        <div class="row">
                        	<div class="col-lg-12">
                        		<div class="card-box">
                            <h2 class="m-t-0 header-title">调查表</h2>
                            <hr/>
                             @if(session('rs'))
                              <div class="alert alert-{{session('rs')['status']}}">
                                {{ session('rs')['msg'] }}
                              </div>
                              @endif
                        			<div class="row">
			                        	<div class="col-md-12">
                                  
    <div class="row">
    <div class="col-md-4">                              
    <div class="form-group">
        <label>真是姓名</label>
        
        <input type="text" class="form-control" disabled="" required="" value="{{$data->truename}}">
          
    </div>
  </div>
  <div class="col-md-4"> 
    <div class="form-group">
        <label>手机号码</label>
        
        <input type="text" class="form-control" disabled="" value="{{$data->mobile}}">
          
    </div>
  </div>
  <div class="col-md-4">   
    <div class="form-group ">
        <label>投放媒体</label>
       
          <input type="text" class="form-control" disabled="" value="{{$data->toufangmeiti}}">
       
    </div>
  </div>
  
  </div>  
    <div class="form-group">
        <label>1.通过什么方式联系到我公司的？</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->qudao}}">
         
    </div>
    <div class="form-group">
        <label>2.1业务人员的沟通是否高效，是否有及时回复您？</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->fuwu_point}}">
         
    </div>
    <div class="form-group">
        <label>2.2对业务人员是否有其他的建议或者意见</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->fuwu_jianyi}}">
         
    </div>
    <div class="form-group">
        <label>3.1您的媒体投放需求是否得到满足</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->xuqiu_point}}">
         
    </div>
    <div class="form-group">
        <label>3.2如果没有满足您的投放需求，是否有其他的意见或者建议？</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->xuqiu_jianyi}}">
         
    </div>

    <div class="form-group">
        <label>4.您觉得哪种媒体对提升公司的品牌知名度和产品转化效果最佳？</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->meitileixing}}">
         
    </div>

    <div class="form-group">
        <label>5.哪些地方您觉得可以改进？</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->gaijin}}">
         
    </div>
    <div class="form-group">
        <label>6.媒体加个您是否觉得合理？</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->jiage}}">
         
    </div>
    <div class="form-group">
        <label>7.是否会向其他客户推荐?</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->is_rec}}">
         
    </div>
    <div class="form-group">
        <label>8.未来多长时间会再次投放公司媒体？</label>
        
          <input type="text" class="form-control" disabled=""  value="{{$data->next_toufang}}">
         
    </div>
                                                                                                                 
    <div class="form-group">
        <label>9.还有什么相对我们说的，都可以在这里留言</label>
        <div class="col-md-10">
            <textarea class="form-control" rows="5" name="remark">{{$data->remark}}</textarea>
        </div>
    </div>

                                              
                                              
                            
                                </div>
			                        	
			                        </div>

                             
			                        
                        			
                        		</div>
                                
                            </div> <!-- end col -->

                            
                        </div>
@endsection
                        
                        
                        

                  
            
    @section('modal')        
        <!-- Modal -->
      <div id="custom-modal" class="modal-demo">
          <button type="button" class="close" onclick="Custombox.close();">
              <span>&times;</span><span class="sr-only">Close</span>
          </button>
          <h4 class="custom-modal-title">账户充值</h4>
          <div class="custom-modal-text text-left">
              <form role="form" method="post" action="{{url('zadmin/seller/add-money')}}">

                 <div class="form-group">
                            <label for="position">卖家</label>
                            <input type="text" class="form-control" id="seller_name" disabled="" />
                  </div>
                <div class="form-group">
                  <label for="name">充值金额</label>
                  <input type="number" class="form-control" name="money" placeholder="">
                </div>
                        
                       
                       
                        <div class="form-group">
                            <label for="position">备注信息</label>
                            <textarea class="form-control" name="remark" ></textarea>
                        </div>
                        
                        
                        <button type="submit" class="btn btn-default waves-effect waves-light">保存</button>
                        <button type="button" class="btn btn-danger waves-effect waves-light m-l-10" onclick="Custombox.close();">取消</button>

                        <input type="hidden" name="seller_id" />
                        {{csrf_field()}}
                    </form>
          </div>
      </div>
    @endsection        
       

           



    
        @section('js')

        <script type="text/javascript">
         

          $('.type').on('change',function(){
            var _val = $(this).val();
            if(_val==2) {
              $('.money').show();
              $('.rate').hide();
            }else{
              $('.rate').show();
              $('.money').hide();
            }
          });
        </script>
        @endsection
    
